//
//  PlayCell.m
//  UI15_太平洋电脑网
//
//  Created by dllo on 16/3/26.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "PlayCell.h"

@implementation PlayCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.picView = [[UIImageView alloc]init];
        [self.contentView addSubview:self.picView];
        [_picView release];
        self.titleLabel = [[UILabel alloc]init];
        [self.contentView addSubview:self.titleLabel];
        [_titleLabel release];
        
        self.zhiBoLabel = [[UILabel alloc]init];
        [self.contentView addSubview:self.zhiBoLabel];
        [_zhiBoLabel release];
        self.zhiBoPicView = [[UIImageView alloc]init];
        [self.contentView addSubview:self.zhiBoPicView];
        [_zhiBoPicView release];
        
        self.timePicView = [[UIImageView alloc]init];
        [self.contentView addSubview:self.timePicView];
        [_timePicView release];
        self.timePicView.image = [UIImage imageNamed:@"iconfont-shijian.png"];
        self.timeLabel = [[UILabel alloc]init];
        [self.contentView addSubview:self.timeLabel];
        [_timeLabel release];
        
        self.pLPicView = [[UIImageView alloc]init];
        [self.contentView addSubview:self.pLPicView];
        [_pLPicView release];
        self.pLPicView.image = [UIImage imageNamed:@"iconfont-pinglun.png"];
        self.pLLabel = [[UILabel alloc]init];
        [self.contentView addSubview:self.pLLabel];
        [_pLLabel release];
        
        self.label = [[UILabel alloc]init];
        [self.contentView addSubview:self.label];
        self.label.backgroundColor =  [UIColor colorWithRed:230/255.00 green:230/255.00 blue:230/255.00 alpha:1];
        [_label release];
        self.label2 = [[UILabel alloc]init];
        [self.contentView addSubview:self.label2];
        self.label2.backgroundColor =  [UIColor colorWithRed:230/255.00 green:230/255.00 blue:230/255.00 alpha:1];
        [_label2 release];
        self.label3 = [[UILabel alloc]init];
        [self.contentView addSubview:self.label3];
        self.label3.backgroundColor =  [UIColor colorWithRed:230/255.00 green:230/255.00 blue:230/255.00 alpha:1];
        [_label3 release];
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    self.picView.frame = CGRectMake(10, 10, 394, 180);
    self.titleLabel.frame = CGRectMake(15, 190, 414-25, 30);
    
    self.zhiBoPicView.frame = CGRectMake(20, 230, 20, 20);
    self.zhiBoLabel.frame = CGRectMake(45, 230, 65, 20);
    
    self.timePicView.frame = CGRectMake(110, 230, 20, 20);
    self.timeLabel.frame = CGRectMake(130, 230, 414-70-140, 20);
    
    self.pLPicView.frame = CGRectMake(414-80, 230, 20, 20);
    self.pLLabel.frame = CGRectMake(414-60, 230, 50, 20);
    
    self.label.frame = CGRectMake(0, 0, 414, 10);
    self.label2.frame = CGRectMake(0, 10, 10, 250);
    self.label3.frame = CGRectMake(404, 10, 10, 250);
}
//@property (nonatomic,retain)UIImageView *picView;
//@property (nonatomic,retain)UILabel *titleLabel;
//@property (nonatomic,retain)UIImageView *zhiBoPicView;
//@property (nonatomic,retain)UILabel *zhiBoLabel;
//@property (nonatomic,retain)UIImageView *timePicView;
//@property (nonatomic,retain)UILabel *timeLabel;
//@property (nonatomic,retain)UIImageView *pLPicView;
//@property (nonatomic,retain)UILabel *pLLabel;























- (void)awakeFromNib {
    // Initialization code
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
